package com.yuanjiu.dao.yuanjiu;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.yuanjiu.pojo.yuanjiu.CategoryIdName;
import com.yuanjiu.pojo.yuanjiu.CategoryObject;

@Component
public interface DataMergeDao {

	void mergeCategory();
	public List<CategoryIdName> getCategoryName() throws Exception;
	public List<String> getCategoriesByParent(Integer catid) throws Exception;
	public void insertCategory(List<CategoryObject> list)throws Exception;
	public List<CategoryObject> getCategories(Integer id)throws Exception;
	public String getCategoryIdByName(@Param("name")String value, @Param("parent")String categoryOneId)throws Exception;
	void mergeItem(String string);
	void mergeComment(String format);
}
